6b08b127053a56cf1f40e536f92738d707d7791b,src/it/unimi/dsi/sux4j/mph/Modulo3System.java,Modulo3System,structuredGaussianElimination,#LongArrayBitVector#,447

Before Change


		}

		// All variables in a stack returning heavier variables first.
		final IntArrayList variables = IntArrayList.wrap( Util.identity( numVars ) );
		IntArrays.quickSortIndirect( variables.elements(), weight );
		
		// The equations that are neither dense, nor solved, and have weight <= 1.

After Change


		}

		// All variables in a stack returning heavier variables first.
		final int[] t = Util.identity( numVars );
		final int[] count = new int[ numEquations + 1 ];
		for( int i = t.length; i-- != 0; ) count[ weight[ t[ i ] ] ]++;
		for( int i = 1; i < count.length; i++ ) count[ i ] += count[ i - 1 ];		
		final int[] u = new int[ t.length ];
		for( int i = t.length; i-- != 0; ) u[ --count[ weight[ t[ i ] ] ] ] = t[ i ];

		final IntArrayList variables = IntArrayList.wrap( u );